package com.zh.domain.dto.attache;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
@ApiModel(value = "AddAttacheRequest", description = "添加附件请求参数")
public class AddAttacheRequest {

    @ApiModelProperty(value = "附件类型(0团队1项目2需求3任务)")
    private Integer type;
    @ApiModelProperty(value = "对应type的id(团队/项目/需求/任务)")
    private Integer typeId;
    @ApiModelProperty(value = "文件名")
    private String fileName;
    @ApiModelProperty(value = "文件本体")
    private MultipartFile file;
}
